public class ConcreteWebsite extends WebSite{
    private String type = "";

    public   ConcreteWebsite(String type) {
        this.type = type;
    }

    @Override
    public void use(User user) {
        System.out.println(type+"类型网站"+user.getName()+"使用中");
    }

}
